cody - HTMLify profile

cody
4270 Files
632790 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/140 - Love Calculator
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: rgb(220, 166, 175);
/* background-image: llinear-gradient(to bottom right, red, yellow); */
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: rgb(220, 166, 175);
/* background-image: llinear-gradient(to bottom right, red, yellow); */
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Love Calculator💘</title>
<link rel="stylesheet" href="style.css">
</head>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Love Calculator💘</title>
<link rel="stylesheet" href="style.css">
</head>
# Love Calculator 💘💖
>It's a Love Calculator where Users have to put his/her name with partner's name and the calculator calculates the Love percentage randomly between them and display
## Tech Stack Used: HTML5,CSS3
---
## Screenshot:

>It's a Love Calculator where Users have to put his/her name with partner's name and the calculator calculates the Love percentage randomly between them and display
## Tech Stack Used: HTML5,CSS3
---
## Screenshot:

function love(){
var name1 = document.getElementById("NameOne").value;
var name2 = document.getElementById("NameTwo").value;
if(name1.length<=2){
alert("Enter at least 3 character");
}
if(name2.length<=2){
alert("Enter at least 3 character");
var name1 = document.getElementById("NameOne").value;
var name2 = document.getElementById("NameTwo").value;
if(name1.length<=2){
alert("Enter at least 3 character");
}
if(name2.length<=2){
alert("Enter at least 3 character");